<?php

class Core_Backend_Component_Permission_View_Role_Edit extends Core_Backend_Component_Permission_View_Role_Create {

    protected function buildForm($form){
        parent::buildForm($form);
        $form->getInput('code')->setEnabled(FALSE);
        $form->getInput('action_ids')->setValue($this->getModel()->getActions()->load()->getItemPropertyValue('id'));
    }
}